<?php

/**
 * ProductsI18n form.
 *
 * @package    form
 * @subpackage products_i18n
 * @version    SVN: $Id: sfPropelFormTemplate.php 6174 2007-11-27 06:22:40Z fabien $
 */
class ProductsI18nForm extends BaseProductsI18nForm
{
  public function configure()
  {
  $this->widgetSchema['products_description']= new sfShoppingWidgetFormRichTextarea(array());
  $this->validatorSchema['products_name'] = new sfValidatorString(array('required' => false, 'min_length' => 2, 'max_length' => 50), array( 'min_length' => '2 character minumun', 'max_length' => '50 character maximum'));
  $this->validatorSchema['products_description'] = new sfValidatorString(array('required' => false, 'min_length' => 2, 'max_length' => 5000), array( 'min_length' => '2 character minumun', 'max_length' => '5000 character maximum'));
  }
  
  public function doSave($con = null)
  {
  die();
  }
}
